package com.lfd.dto;

import java.util.ArrayList;
import java.util.List;

import com.google.gson.Gson;
import com.lfd.entity.OrderProduct;

public class AddCartDto {

	private List<Long> cartProIds;

	private Double totalMoney;

	
	
	
	public List<Long> getCartProIds() {
		return cartProIds;
	}

	public void setCartProIds(List<Long> cartProIds) {
		this.cartProIds = cartProIds;
	}

	public Double getTotalMoney() {
		return totalMoney;
	}

	public void setTotalMoney(Double totalMoney) {
		this.totalMoney = totalMoney;
	}

	public static void main(String[] args) {
		List<Long> list = new ArrayList();
		list.add(1L);
		list.add(2L);
		String json = new Gson().toJson(list);
		AddCartDto addCartDto = new AddCartDto();

	}

}
